import { request } from '@/utils/request'

// 热搜列表
export const HotSearch = () => {
  return request({
    url: '/search/hot/detail'
  })
}
// 搜索联想
export const searchSuggest = keywords => {
  return request({
    url: '/search/suggest',
    params: {
      keywords
    }
  })
}
// 默认搜索关键字
export const searchKeyword = () => {
  return request({
    url: '/search/default'
  })
}
// 获取单曲
export const getSong = params => {
  return request({
    url: '/cloudsearch',
    params
  })
}
// 获取歌手
export const getSinger = params => {
  return request({
    url: '/cloudsearch',
    params
  })
}
// 获取歌单
export const getPlayList = params => {
  return request({
    url: '/cloudsearch',
    params
  })
}
// 获取用户
export const theUser = params => {
  return request({
    url: '/cloudsearch',
    params
  })
}
